<!-- <style scoped src="./index.scss" lang="scss" rel="stylesheet/scss"></style> -->
<template src="./index.html"></template>
<script>
    export default {
        mixins: [Vue.prototype.$vFN.Mixins.Base, Vue.prototype.$vFN.Mixins.Edit],
        components: {
            SelectImage: async () => Vue.extend(await Vue.prototype.$vFN.Components.Base.SelectImage())
        },
        data() {
            return {
                appWindow: window,
                form: {

                },
                
                loading: true,
            };
        },
        methods: {
            async getData() {
                let res = this.$vFN.Http.post({
                    url: "plugin/distribution/backend/order/show",
                    data: {
                        id: this.id,
                    }
                }, window)
            },
            // 初始化
            async init() {
                this.getData()
                // 初始化数据
                await this.mixinEdit_editBoxInit({
                    model: "form",
                    id: this.id,
                });
            },


        },
        mounted() {
            this.init();
        },
        activated() {},
    };
</script>